import React from 'react';

import classes from './Button.module.css';

const ButtonUi = ({ type = 'button', onClick, children }) => {
    return (
        <button className={classes.button} type={type}
            onClick={onClick}>
            {children }
        </button>
    )
};

export default ButtonUi;
